<html>

<head>

<?php

include "../includes/constants.php";
include "../includes/functions.php";
include "../includes/profile.php";

?>

<title>EQ Emu - <?php echo $Profile["name"];?>'s Buffs</title>

</head>

<body>

<table border="1">
	<tr>
		<th>Slot</th>
		<th>Name</th>
		<th>Duration</th>
	</tr>
<?php
for ($x = 1; $x <= 25; $x++) {
	echo "\t<tr>
		<td align=\"right\">" . $x . "</td>\n";
		if ($Profile["buffs"][$x]["spellid"] == 4294967295) {
			echo "\t\t<td>&nbsp</td>\n";
		} else {
			echo "\t\t<td>" . GetSpellName($Profile["buffs"][$x]["spellid"]) . "</td>
		<td>" . $Profile["buffs"][$x]["duration"] . " ticks</td>\n";
		};
		echo "</td>
	</tr>\n";
};
?>
</table>

</body>

</html>